package dao.impl;

import dao.NewsDao;
import org.apache.log4j.Logger;
import pojo.News;

/**
 * @version v1.0
 * @Author JieGe
 * @Create 2024-11-30 - 10:47
 */
public class NewsDaoMySqlImpl implements NewsDao {

    private Logger logger = Logger.getLogger(NewsDaoMySqlImpl.class);

    @Override
    public int save(News news) {
        logger.debug("保存新闻信息到MySQL数据库");
        return 1;
    }
}
